package com.ning.weixin.enums;

/**
 * 返回结果
 *
 * @author Cyan
 * @Date:2018/12/09
 */
public enum ResultEnum {
    SUCCESS(0, "登录成功"),

    LOGIN_FAIL(1, "登录失败"),

    LOGOUT(2, "登出成功"),

    WX_MP_ERROR(3, "微信公众账号错误"),;

    private Integer code;

    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
